| Total Complexity | 11 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | import * as popsicle from "popsicle"; |
||
| 3 | |||
| 4 | export class AuthResponse { |
||
| 5 | response: popsicle.Response; |
||
| 6 | body: string; |
||
| 7 | json: Record<string, any>; |
||
| 8 | intuit_tid: string; |
||
| 9 | token: Token; |
||
| 10 | constructor(params: { |
||
| 11 | token?: Token, |
||
| 12 | response?: popsicle.Response, |
||
| 13 | body?: string, |
||
| 14 | intuit_id?: string |
||
| 15 | }); |
||
| 16 | processResponse(response: popsicle.Response): void; |
||
| 17 | getToken(): Token; |
||
| 18 | text(): string; |
||
| 19 | status(): number; |
||
| 20 | headers(): Record<string, any>; |
||
| 21 | valid(): boolean; |
||
| 22 | getJson(): Record<string, any>; |
||
| 23 | get_intuit_tid(): string; |
||
| 24 | isContentType(): boolean; |
||
| 25 | getContentType(): string; |
||
| 26 | isJson(): boolean; |
||
| 27 | } |
||
| 28 |